package be.idamf.cortizone.fileprocessor
{
	import flash.filesystem.File;
	
	import mx.collections.ArrayCollection;
	
	public class FileResultProcessor implements IFileProcessor
	{
		[Bindable]
		public var result:ArrayCollection;
		
		public function FileResultProcessor()
		{
		}
		
		public function reset():void
		{
			result = new ArrayCollection();
		}
		
		public function cancel():void
		{
		}
		
		public function process(file:File):Boolean
		{
			result.addItem(file);
			return true;
		}
	}
}